Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / va ultramix2 - 373_1 dt r3 --- Isosceles edit.milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=2
4PSVERSION_COMP=3
5[preset00]
6fRating=5.000000
7fGammaAdj=1.000
8fDecay=1.000
9fVideoEchoZoom=1.000
10fVideoEchoAlpha=0.000
11nVideoEchoOrientation=1
12nWaveMode=5
13bAdditiveWaves=0
14bWaveDots=0
15bWaveThick=0
16bModWaveAlphaByVolume=0
17bMaximizeWaveColor=0
18bTexWrap=0
19bDarkenCenter=0
20bRedBlueStereo=0
21bBrighten=1
22bDarken=0
23bSolarize=0
24bInvert=0
25fWaveAlpha=0.001
26fWaveScale=0.721
27fWaveSmoothing=0.500
28fWaveParam=0.000
29fModWaveAlphaStart=0.500
30fModWaveAlphaEnd=1.000
31fWarpAnimSpeed=1.000
32fWarpScale=1.000
33fZoomExponent=1.00000
34fShader=0.000
35zoom=1.00000
36rot=0.00000
37cx=0.500
38cy=0.500
39dx=0.00001
40dy=0.00001
41warp=0.01000
42sx=1.00000
43sy=1.00000
44wave_r=0.500
45wave_g=0.500
46wave_b=0.500
47wave_x=0.500
48wave_y=0.500
49ob_size=0.005
50ob_r=0.000
51ob_g=0.000
52ob_b=0.000
53ob_a=1.000
54ib_size=0.000
55ib_r=0.000
56ib_g=0.000
57ib_b=0.000
58ib_a=0.000
59nMotionVectorsX=0.000
60nMotionVectorsY=0.000
61mv_dx=0.000
62mv_dy=0.000
63mv_l=1.000
64mv_r=1.000
65mv_g=1.000
66mv_b=1.000
67mv_a=0.000
68b1n=0.000
69b2n=0.000
70b3n=0.000
71b1x=1.000
72b2x=1.000
73b3x=1.000
74b1ed=0.250
75wavecode_0_enabled=1
76wavecode_0_samples=512
77wavecode_0_sep=0
78wavecode_0_bSpectrum=0
79wavecode_0_bUseDots=0
80wavecode_0_bDrawThick=0
81wavecode_0_bAdditive=0
82wavecode_0_scaling=0.22480
83wavecode_0_smoothing=0.50000
84wavecode_0_r=1.000
85wavecode_0_g=1.000
86wavecode_0_b=1.000
87wavecode_0_a=1.000
88wave_0_per_point1=r = q1;
89wave_0_per_point2=g = q2;
90wave_0_per_point3=b = q3;
91wave_0_per_point4=
92wave_0_per_point5=x = x + 0.42*cos(1-sin(3.2*time));
93wave_0_per_point6=y = y + 0.47*sin(0.72*time-cos(1.1*time));
94wavecode_1_enabled=1
95wavecode_1_samples=512
96wavecode_1_sep=0
97wavecode_1_bSpectrum=0
98wavecode_1_bUseDots=0
99wavecode_1_bDrawThick=0
100wavecode_1_bAdditive=0
101wavecode_1_scaling=0.22480
102wavecode_1_smoothing=0.50000
103wavecode_1_r=1.000
104wavecode_1_g=1.000
105wavecode_1_b=1.000
106wavecode_1_a=1.000
107wave_1_per_point1=r = 1-abs(q1);
108wave_1_per_point2=g = 1-abs(q2);
109wave_1_per_point3=b = 1-abs(q3);
110wave_1_per_point4=
111wave_1_per_point5=y = y + 0.42*cos(1-sin(1.82*time));
112wave_1_per_point6=x = x + 0.47*sin(0.72*time-cos(1.72*time));
113wavecode_2_enabled=1
114wavecode_2_samples=512
115wavecode_2_sep=0
116wavecode_2_bSpectrum=0
117wavecode_2_bUseDots=0
118wavecode_2_bDrawThick=0
119wavecode_2_bAdditive=0
120wavecode_2_scaling=0.22480
121wavecode_2_smoothing=0.50000
122wavecode_2_r=1.000
123wavecode_2_g=1.000
124wavecode_2_b=1.000
125wavecode_2_a=1.000
126wave_2_per_point1=r = 1-abs(q2);
127wave_2_per_point2=g = q3;
128wave_2_per_point3=b = 1-abs(0.5*q2 + 0.5*q1);
129wave_2_per_point4=
130wave_2_per_point5=x = x + 0.42*sin(1-cos(2.12*time));
131wave_2_per_point6=y = y + 0.47*cos(0.72*time-sin(2.7*time));
132wavecode_3_enabled=1
133wavecode_3_samples=512
134wavecode_3_sep=0
135wavecode_3_bSpectrum=0
136wavecode_3_bUseDots=0
137wavecode_3_bDrawThick=0
138wavecode_3_bAdditive=0
139wavecode_3_scaling=0.22480
140wavecode_3_smoothing=0.50000
141wavecode_3_r=1.000
142wavecode_3_g=1.000
143wavecode_3_b=1.000
144wavecode_3_a=1.000
145wave_3_per_point1=r = q3;
146wave_3_per_point2=g = q1;
147wave_3_per_point3=b = q2;
148wave_3_per_point4=
149wave_3_per_point5=y = y + 0.42*sin(1-cos(1.72*time));
150wave_3_per_point6=x = x + 0.47*cos(0.72*time-sin(1.2*time));
151shapecode_0_enabled=0
152shapecode_0_sides=4
153shapecode_0_additive=0
154shapecode_0_thickOutline=0
155shapecode_0_textured=1
156shapecode_0_num_inst=1
157shapecode_0_x=0.500
158shapecode_0_y=0.500
159shapecode_0_rad=0.33004
160shapecode_0_ang=0.00000
161shapecode_0_tex_ang=0.00000
162shapecode_0_tex_zoom=1.64463
163shapecode_0_r=1.000
164shapecode_0_g=1.000
165shapecode_0_b=1.000
166shapecode_0_a=1.000
167shapecode_0_r2=1.000
168shapecode_0_g2=1.000
169shapecode_0_b2=1.000
170shapecode_0_a2=1.000
171shapecode_0_border_r=1.000
172shapecode_0_border_g=1.000
173shapecode_0_border_b=1.000
174shapecode_0_border_a=1.000
175shape_0_per_frame1=shpt = above(bass_att,shpt)*2+(1-above(bass_att,shpt))*((shpt-1.3)*0.96+1.3);
176shape_0_per_frame2=sdx_r = equal(shpt,2)*0.015*sin(5*time)+(1-equal(shpt,2))*sdx_r;
177shape_0_per_frame3=sdy_r = equal(shpt,2)*0.015*sin(6*time)+(1-equal(shpt,2))*sdy_r;
178shape_0_per_frame4=
179shape_0_per_frame5=a1x = .5 + 0.42*cos(1-sin(3.2*time));
180shape_0_per_frame6=a1y = .5 + 0.47*sin(0.72*time-cos(1.1*time));
181shape_0_per_frame7=a2y = .5 + 0.42*cos(1-sin(1.82*time));
182shape_0_per_frame8=a2x = .5 + 0.47*sin(0.72*time-cos(1.72*time));
183shape_0_per_frame9=a3x = .5 + 0.42*sin(1-cos(2.12*time));
184shape_0_per_frame10=a3y = .5 + 0.47*cos(0.72*time-sin(2.7*time));
185shape_0_per_frame11=a4y = .5 + 0.42*sin(1-cos(1.72*time));
186shape_0_per_frame12=a4x = .5 + 0.47*cos(0.72*time-sin(1.2*time));
187shape_0_per_frame13=
188shape_0_per_frame14=
189shape_0_per_frame15=sg1 = abs(sin(time));
190shape_0_per_frame16=sg2 = a1x*above(sg1,0.75) + a2x*below(sg1,0.25) + a3x*above(sg1,0.25)*below(sg1,0.5)+
191shape_0_per_frame17=a4x*above(sg1,0.5)*below(sg1,0.75);
192shape_0_per_frame18=sg3 = if(above(shpt,1.3),sg2,sg3);
193shape_0_per_frame19=sg4 = a1y*above(sg1,0.75) + a2y*below(sg1,0.25) + a3y*above(sg1,0.25)*below(sg1,0.5)+
194shape_0_per_frame20=a4y*above(sg1,0.5)*below(sg1,0.75);
195shape_0_per_frame21=sg5 = if(above(shpt,1.3),sg4,sg5);
196shape_0_per_frame22=
197shape_0_per_frame23=
198shape_0_per_frame24=x = sg3;
199shape_0_per_frame25=y = sg5;
200shape_0_per_frame26=border_r = q1;
201shape_0_per_frame27=border_b = q2;
202shape_0_per_frame28=border_g = q3;
203shapecode_1_enabled=0
204shapecode_1_sides=4
205shapecode_1_additive=0
206shapecode_1_thickOutline=0
207shapecode_1_textured=0
208shapecode_1_num_inst=1
209shapecode_1_x=0.500
210shapecode_1_y=0.500
211shapecode_1_rad=0.10000
212shapecode_1_ang=0.00000
213shapecode_1_tex_ang=0.00000
214shapecode_1_tex_zoom=1.00000
215shapecode_1_r=1.000
216shapecode_1_g=0.000
217shapecode_1_b=0.000
218shapecode_1_a=1.000
219shapecode_1_r2=0.000
220shapecode_1_g2=1.000
221shapecode_1_b2=0.000
222shapecode_1_a2=0.000
223shapecode_1_border_r=1.000
224shapecode_1_border_g=1.000
225shapecode_1_border_b=1.000
226shapecode_1_border_a=0.100
227shapecode_2_enabled=1
228shapecode_2_sides=4
229shapecode_2_additive=0
230shapecode_2_thickOutline=0
231shapecode_2_textured=0
232shapecode_2_num_inst=1
233shapecode_2_x=0.500
234shapecode_2_y=0.500
235shapecode_2_rad=0.15774
236shapecode_2_ang=0.00000
237shapecode_2_tex_ang=0.00000
238shapecode_2_tex_zoom=1.00000
239shapecode_2_r=1.000
240shapecode_2_g=1.000
241shapecode_2_b=1.000
242shapecode_2_a=1.000
243shapecode_2_r2=1.000
244shapecode_2_g2=1.000
245shapecode_2_b2=1.000
246shapecode_2_a2=1.000
247shapecode_2_border_r=1.000
248shapecode_2_border_g=1.000
249shapecode_2_border_b=1.000
250shapecode_2_border_a=0.000
251shape_2_per_frame1=ang = 1.571;
252shape_2_per_frame2=x = int(rand(11))*.1111;
253shape_2_per_frame3=y = int(rand(11))*.4;
254shape_2_per_frame4=
255shape_2_per_frame5=r = int(rand(100))*.01;
256shape_2_per_frame6=g = int(rand(100))*.01;
257shape_2_per_frame7=b = int(rand(100))*.01;
258shape_2_per_frame8=r2 = int(rand(100))*.01;
259shape_2_per_frame9=g2 = int(rand(100))*.01;
260shape_2_per_frame10=b2 = int(rand(100))*.01;
261shapecode_3_enabled=0
262shapecode_3_sides=4
263shapecode_3_additive=0
264shapecode_3_thickOutline=0
265shapecode_3_textured=0
266shapecode_3_num_inst=1
267shapecode_3_x=0.500
268shapecode_3_y=0.500
269shapecode_3_rad=0.10000
270shapecode_3_ang=0.00000
271shapecode_3_tex_ang=0.00000
272shapecode_3_tex_zoom=1.00000
273shapecode_3_r=1.000
274shapecode_3_g=0.000
275shapecode_3_b=0.000
276shapecode_3_a=1.000
277shapecode_3_r2=0.000
278shapecode_3_g2=1.000
279shapecode_3_b2=0.000
280shapecode_3_a2=0.000
281shapecode_3_border_r=1.000
282shapecode_3_border_g=1.000
283shapecode_3_border_b=1.000
284shapecode_3_border_a=0.100
285per_frame_1=wave_r = 0.5 + 0.5*sin(1.6*time);
286per_frame_2=wave_g = 0.5 + 0.5*sin(4.1*time);
287per_frame_3=wave_b = -1 + (1-wave_r + 1-wave_g);
288per_frame_4=warp = 0;
289per_frame_5=pfthresh = above(bass_att,pfthresh)*2+(1-above(bass_att,pfthresh))*((pfthresh-1.3)*0.96+1.3);
290per_frame_6=pfdx_r = equal(pfthresh,2)*0.015*sin(5*time)+(1-equal(pfthresh,2))*pfdx_r;
291per_frame_7=pfdy_r = equal(pfthresh,2)*0.015*sin(6*time)+(1-equal(pfthresh,2))*pfdy_r;
292per_frame_8=rg1 = abs(sin(time));
293per_frame_9=rg2 = 12*pfdx_r*above(rg1,0.5) + 12*pfdy_r*below(rg1,0.5);
294per_frame_10=rg3 = if(equal(pfthresh,2),rg2,rg3);
295per_frame_11=
296per_frame_12=q1 = wave_r;
297per_frame_13=q2 = wave_g;
298per_frame_14=q3 = wave_b;
299per_frame_15=
300per_pixel_1=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3);
301per_pixel_2=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r;
302per_pixel_3=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r;
303per_pixel_4=tg1 = abs(sin(time));
304per_pixel_5=tg2 = 12*dx_r*above(tg1,0.5) + 12*dy_r*below(tg1,0.5);
305per_pixel_6=tg3 = if(equal(thresh,2),tg2,tg3);
306per_pixel_7=
307per_pixel_8=
308per_pixel_9=zoom = zoom - 0.01;
309per_pixel_10=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3);
310per_pixel_11=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r;
311per_pixel_12=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r;
312per_pixel_13=warp = warp + above(x,0.05 + 0.5*sin(bass_att))*below(x,0.1 + 0.5*sin(bass_att))
313per_pixel_14=*below(y,0.4)*5;
314per_pixel_15=warp = warp + below(x,0.95 - 0.5*sin(treb_att))*above(x,0.9 - 0.5*sin(treb_att))*
315per_pixel_16=above(y,0.6)*5;
316per_pixel_17=warp = warp + above(y,0.05 + 0.5*sin(mid_att))*below(y,0.1 + 0.5*sin(mid_att))
317per_pixel_18=*above(x,0.6)*5;
318per_pixel_19=warp = warp + below(y,0.95 - 0.5*cos(mid_att))*above(y,0.9 - 0.5*cos(mid_att))*
319per_pixel_20=below(x,0.4)*5;
320per_pixel_21=zoom = zoom - below(rad,0.05)*0.5;
321per_pixel_22=rot = rot + below(rad,0.2)*0.1;
322per_pixel_23=zoom = zoom + 0.005*above(rad,0.2)*(bass_att);
323per_pixel_24=zoom = zoom - 0.05*below(rad,0.2);
324per_pixel_25=kdx=dx;//////////////////////////////////////////
325per_pixel_26=kdy=dy;
326per_pixel_27=ksx=sx;
327per_pixel_28=ksy=sy;
328per_pixel_29=krt=rot;
329per_pixel_30=kzm=zoom;
330per_pixel_31=kcx=cx;
331per_pixel_32=kcy=cy;
332per_pixel_33=kwp=warp;
333per_pixel_34=
334per_pixel_35=dx=0;
335per_pixel_36=dy=0;
336per_pixel_37=sx=1;
337per_pixel_38=sy=1;
338per_pixel_39=rot=0;
339per_pixel_40=zoom=1;
340per_pixel_41=cx=.5;
341per_pixel_42=cy=.5;
342per_pixel_43=warp=0;/////////////////////////////////////////////////////
343per_pixel_44=
344per_pixel_45=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3);
345per_pixel_46=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r;
346per_pixel_47=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r;
347per_pixel_48=
348per_pixel_49=dy = dy + dy_r*8*(0.25*cos(12*rad)+0.5*sin((12*rad)*(rad*cos(thresh*time)-rad))
349per_pixel_50=*rad)*cos(12*ang);
350per_pixel_51=dx = dx + dy_r*8*(0.25*sin(12*rad)+0.5*cos((12*rad)*(rad*cos(thresh*time)-rad))
351per_pixel_52=*rad)*sin(12*ang);
352per_pixel_53=///////////////////////////////////////
353per_pixel_54=cr1=80*.01;
354per_pixel_55=cr2=0*.01;
355per_pixel_56=crx=cr2-cr1;
356per_pixel_57=ci=rad;
357per_pixel_58=cb=.25 ;
358per_pixel_59=crs=2;
359per_pixel_60=cr=pow(sin(ci*6.3-(cb*6.3))/2+.5,crs)*crx+cr1;
360per_pixel_61=cqr=if( above (ci,.25+cb),cr,crx+cr1);crr=if( below(ci,1.5),cqr,crx+cr1);
361per_pixel_62=jx1=crr;
362per_pixel_63=kx1=1-crr;
363per_pixel_64=
364per_pixel_65=jdx=dx;
365per_pixel_66=jdy=dy;
366per_pixel_67=jsx=sx;
367per_pixel_68=jsy=sy;
368per_pixel_69=jrt=rot;
369per_pixel_70=jzm=zoom;
370per_pixel_71=jcx=cx;
371per_pixel_72=jcy=cy;
372per_pixel_73=jwp=warp;
373per_pixel_74=
374per_pixel_75=dx=(jx1*jdx+kx1*kdx);
375per_pixel_76=dy=(jx1*jdy+kx1*kdy);
376per_pixel_77=sx=(jx1*jsx+kx1*ksx);
377per_pixel_78=sy=(jx1*jsy+kx1*ksy);
378per_pixel_79=rot=(jx1*jrt+kx1*krt);
379per_pixel_80=zoom=(jx1*jzm+kx1*kzm);
380per_pixel_81=cx=(jx1*jcx+kx1*kcx);
381per_pixel_82=cy=(jx1*jcy+kx1*kcy);
382per_pixel_83=warp=(jx1*jwp+kx1*kwp);////////////////////////////////////////////////////
383per_pixel_84=
384warp_1=`shader_body
385warp_2=`{
386warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with
387warp_4=` float1 d = 0.005;
388warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x;
389warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y;
390warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x;
391warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y;
392warp_9=` float2 my_uv = uv - float2(dx,dy)*0.01 + float2(dxb,dyb)*0.003;
393warp_10=`
394warp_11=`
395warp_12=`
396warp_13=` float2 v = 0.01;
397warp_14=` ret.x = tex2D( sampler_fw_main, my_uv -floor(my_uv)*0).x;
398warp_15=`
399warp_16=`
400warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1;
401warp_18=` ret.x += 0.004;
402warp_19=`
403warp_20=`
404warp_21=`//--------------------------------
405warp_22=`
406warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y);
407warp_24=`
408warp_25=`
409warp_26=`
410warp_27=` v = 0.01;
411warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z;
412warp_29=`
413warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale);
414warp_31=` ret.z *= 0.8;
415warp_32=` ret.z += 0.004;
416warp_33=`
417warp_34=`
418warp_35=`
419warp_36=`//--------------------------------
420warp_37=`
421warp_38=` d = 0.01;
422warp_39=` my_uv = float2(-dy,dx)*0.045;
423warp_40=`
424warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x;
425warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y;
426warp_43=` my_uv += uv - float2(dx,dy)*0.03;
427warp_44=`
428warp_45=`
429warp_46=`
430warp_47=` v = 0.01;
431warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y;
432warp_49=`
433warp_50=`
434warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.1 + 0.01;
435warp_52=`//ret-=roam_sin*roam_cos.zxy;
436warp_53=`//ret = 0;
437warp_54=`}
438comp_1=`shader_body
439comp_2=`{
440comp_3=`//ret=tex2D(sampler_main,uv);
441comp_4=`// ***** Flexis rotating caleidoscope code *****
442comp_5=`float2 cntr = float2(q13,q14); float sin = q11; float cos = q12; float scale = q15;
443comp_6=`float2 uv_r = (uv-cntr)*aspect.xy;
444comp_7=` uv_r = scale*float2( cos*uv_r.x - sin*uv_r.y, sin*uv_r.x + cos*uv_r.y); // rotation
445comp_8=` uv_r = cntr + uv_r*aspect.zw;
446comp_9=` uv_r = 1.0 - abs( frac( uv_r * 0.5 ) * 2.0 - 1.0 ); // mirror
447comp_10=`sin = q17; cos = q18; scale = q16;
448comp_11=`float2 uv_rr = (uv_r-cntr);
449comp_12=` uv_rr = scale*float2( cos*uv_rr.x - sin*uv_rr.y, sin*uv_rr.x + cos*uv_rr.y); // counter-rotation
450comp_13=` uv_rr = cntr + (uv_rr);
451comp_14=`float t = q22;
452comp_15=`float2 c = ((uv_rr-0.5));
453comp_16=`float1 ang_hq = atan2(c.x,c.y);
454comp_17=`float2 spiral = float2(ang_hq*q21*1.5,0.666*log(length(c))-ang_hq*q21+t);
455comp_18=`spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*float2(0.96,1.02); // mirror
456comp_19=`ret = GetPixel(saturate(spiral));
457comp_20=`ret-=roam_sin.wzy*roam_cos;
458comp_21=`
459comp_22=`
460comp_23=`//ret=lum(ret)>0+(lum(ret)<=0.75)*ret;
461comp_24=`ret=pow(GetBlur1(uv).xyz/treb_att,1-lum(saturate(ret.xyz)));
462comp_25=`ret=pow(GetBlur2(uv).xyz/bass_att,1-lum(saturate(ret.xyz)));
463comp_26=`//ret=1-ret;
464comp_27=`}